how to take input from user using input.parseint function